package com.fezs.message.config.properties;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author zhukai
 * @since 2022/8/18
 */
@Getter
@Setter
@ToString
@ConfigurationProperties(prefix ="message.notice")
public class MessageProperties {

    /**
     * 是否开启通知，默认关闭
     */
    private Boolean enabled = false;

    /**
     * 机器人的key
     */
    private String key;

    /**
     * 代理地址
     */
    private String proxyHost;

    /**
     * 代理端口
     */
    private Integer proxyPort;

}
